package com.mdd.admin.validate.order;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 优惠券发放验证
 * @author shenjian
 * @createTime 2023年02月19日 22:30:00
 */
@Data
public class CouponIssuingValidate {

    private String couponName = "随机优惠券";

    @NotNull(message = "金额不能为空")
    private Double amount;

    @NotNull(message = "数量不能为空")
    private Integer quantity;

    private Integer valid = 1;
}
